// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.linqingying.gitcode.api.data.pullrequest

import com.linqingying.gitcode.pullrequest.data.GCPRIdentifier

data class GCPullRequestRestIdOnly(val id: String,
                                   val nodeId: String,
                                   val number: Long)

fun GCPullRequestRestIdOnly.toPRIdentifier(): GCPRIdentifier = GCPRIdentifier(nodeId, number)
